package cn.skyisazure.metacompare.metaVo;

import lombok.Data;

import java.util.Map;

/**
 * 关系 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class RelationBaseVO {

    private String tableKey;

    private String name;

    private Boolean nullable;

    private Boolean cascadeRemove;

    private String relationMode;

    private String code;

    private String description;

    private String joinTableKey;

    private String joinTableCode;

    private String joinColumnKey;

    private String joinColumnCode;

    private String inverseJoinColumnKey;

    private String inverseJoinColumnCode;

    private String targetKey;

    private String fieldKey;

    private String foreignKeyCode;

    private String foreignKeyKey;

    private Boolean joinColumnAtTarget;

    private String inverseSideKey;

    private Boolean withCustomProps;

    private Integer sort;

    private Map<String, Object> config;

    private Long appId;

    private Byte env;

    private String ver;

    private Boolean latest;

    private String queryKey;

}
